package com.movie.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class MovieDTO {
    private Long id;
    private String title;
    private Integer year;
    private String cover;
    private String description;
    private Double rating;
    private String status;
    private Long categoryId;
    private String categoryName;
    // 类型信息已通过分类表管理，删除重复的类型字段
    // private List<String> genres = new ArrayList<>();
    private List<ActorDTO> actors = new ArrayList<>();
    private List<MovieSourceDTO> sources = new ArrayList<>();
    private List<MovieSubtitleDTO> subtitles = new ArrayList<>();
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}